package liu.de.config;

import com.github.caryyu.spring.embedded.redisserver.RedisServerConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * junit的时候用, 内置一个redis
 * @author liude
 */
@Configuration
public class EmbeddedRedisConfig {
    @Bean
    public RedisServerConfiguration redisServerConfiguration() {
        return new RedisServerConfiguration();
    }
}
